package com.group.medical.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 用户详情表
 * @TableName tb_user_detail
 */
@TableName(value ="tb_user_detail")
@Data
public class UserDetail implements Serializable {
    /**
     * 详情id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private String userId;

    /**
     * 头像
     */
    @TableField(value = "url")
    private String url;

    /**
     * 昵称
     */
    @TableField(value = "nick_name")
    private String nickName;

    /**
     * 性别;男 女
     */
    @TableField(value = "gender")
    private String gender;

    /**
     * 类型
     */
    @TableField(value = "type")
    private String type;

    /**
     * 位置
     */
    @TableField(value = "location")
    private String location;

    /**
     * 体重
     */
    @TableField(value = "weight")
    private String weight;

    /**
     * 出生日期
     */
    @TableField(value = "birthday")
    private Date birthday;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}